package com.alibaba.nacos.service;

import com.alibaba.nacos.vo.FeignTestVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
@FeignClient(value = "service-provider")
public interface ProviderClient {
    @GetMapping("/provider/hello")
    String hello();

    @GetMapping("/test/compress")
    List<FeignTestVo> compress();
}
